package simonby.top.annualring.adapter.dto;

import lombok.Data;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 家族树DTO
 * 用于家族树接口的数据传输
 */
@Data
public class FamilyTreeDTO {
    private Long id;
    private String name;
    private String description;
    private Long creatorId;
    private Integer isPublic;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}